how to convert array to object in javascript es8

visit shbcf.ru